package breakthrough.AlphaBetaPlayer;

public class Timer {

	private double timeRemaining, initialTime;
	
	public Timer(int initialTime) {
		this.timeRemaining = initialTime;
		this.initialTime = initialTime;
	}
	
	public void update(double secs) {
		this.timeRemaining -= secs;
	}
	
	public double getTimeRemaining() {
		return this.timeRemaining;
	}
	
	public double getInitialTime() {
		return this.initialTime;
	}

}
